package com.lxx.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class SchedulerTask {
 
    private int count=0;
 
    //@Scheduled(cron="*/6 * * * * ?")
    private void process(){
    	System.out.println("scheduled=="+Thread.currentThread().getName());
        System.out.println("this is scheduler task runing  "+(count++));
    }
 
}